package com.cn.mmd.mapper;

import com.cn.mmd.model.Activity;
import com.cn.mmd.model.Course;
import com.cn.mmd.model.CourseExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CourseMapper {
    int countByExample(CourseExample example);

    int deleteByExample(CourseExample example);

    int deleteByPrimaryKey(String courseid);

    int insert(Course record);

    int insertSelective(Course record);

    List<Course> selectByExample(CourseExample example);

    Course selectByPrimaryKey(String courseid);

    int updateByExampleSelective(@Param("record") Course record, @Param("example") CourseExample example);

    int updateByExample(@Param("record") Course record, @Param("example") CourseExample example);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);

    Course selectByKey(String courseId);

    List<Course> selectByTeacher(String string);

    Course selectClass(Course course);

    List<Course> selectClasss(Course course);

    List<Course> selectByPaging(Course course);

    int countLimitNum(Course course);

    Course selectClasses(String courseName);

    List<Course> selectTeacherByClass(String className);

    List<Course> selectClassByTeacher(String teacherId);

    List<Course> selectCollegeC();

    List<Course> selectCourseByCollegeC(String s);

}